import http from "../../utils/request";

export const useGetApi = (params) => {
  return http.get("/wxApi/v1/person/employee/page", params);
};

export const usePostApi = (data) => {
  return http.post("/wxApi/v1/person/employee/page", data);
};

export const usePutApi = (data) => {
  return http.put("/wxApi/v1/person/employee/page", data);
};

export const useDeleteApi = (params) => {
  return http.delete("/wxApi/v1/person/employee/page", params);
};
